<script setup>
import{ref,onMounted}from'vue'
import http from '../utils/http';
import { Key } from '@element-plus/icons-vue';
const params={
    Key:"540eade30635f61ce97d546f359f2d65",
    city:'金华'
}
const weatherData=ref(null)
const getWeather=async()=>{
    const response=await http.get("/simpleWeather/query",{params})
    weatherData.value=response.result;
}

onMounted(()=>{
    getWeather()
})

</script>
<template>

    
</template>